export interface Field {
  field: string
  label: string
  width?: number
  hide?: boolean
  read_only?: boolean
  input_type: 'text' | 'select' | 'date' | 'radio' | 'number' | 'checkbox' | 'switch'|'textarea' |'datetime'
  is_null?: boolean
  Validation?: any
  row_id?: number
  col_span?: number
  rows_num?:number
  options?: { label: string; value: any }[]
}

export interface TreeNode {
  id: string | number
  label: string
  children?: TreeNode[]
  icon?: string
  count?: number
  [key: string]: any
}
